inverted right angle triangle pattern in python